import instance from "@/http";

// 分页
export const scorePage = (formData)=>instance.post("/score/page",formData)

//添加或修改
export const addOrUpdateScore = (formData)=>instance.post("/score/addOrUpdate",formData)

// 批量导入
export const  batchAdd = (formData)=>instance.post("/score/batchAdd",formData)

// 删除
export const deleteScore = (id)=>instance.delete("/score/delete/"+id)

// 批量导出
export const  exportScore = (formData)=>instance.post("/score/export",formData,{responseType:"arraybuffer"})
